package com.qingge.springboot.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qingge.springboot.entity.Flower;
import com.qingge.springboot.mapper.FlowerMapper;
import com.qingge.springboot.service.IFlowerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 格温不受影响
 * @since 2022-04-01
 */
@Service
public class FlowerServiceImpl extends ServiceImpl<FlowerMapper, Flower> implements IFlowerService {

    @Resource
    private FlowerMapper flowerMapper;
    @Override
    public Page<Flower> findPage(Page<Flower> page, String fname,String obj) {
        return flowerMapper.findPage(page,fname,obj);
    }

}
